package com.crm.entity;


import java.util.HashSet;
import java.util.Set;

/**
 * Jproduction entity. @author MyEclipse Persistence Tools
 */

public class Jproduction implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private String ptype;
	private String pgrade;
	private String danwei;
	private Integer price;
	private String remark;
	private Set jproductivities = new HashSet(0);

	// Constructors

	/** default constructor */
	public Jproduction() {
	}

	/** full constructor */
	public Jproduction(String name, String ptype, String pgrade, String danwei,
			Integer price, String remark, Set jproductivities) {
		this.name = name;
		this.ptype = ptype;
		this.pgrade = pgrade;
		this.danwei = danwei;
		this.price = price;
		this.remark = remark;
		this.jproductivities = jproductivities;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPtype() {
		return this.ptype;
	}

	public void setPtype(String ptype) {
		this.ptype = ptype;
	}

	public String getPgrade() {
		return this.pgrade;
	}

	public void setPgrade(String pgrade) {
		this.pgrade = pgrade;
	}

	public String getDanwei() {
		return this.danwei;
	}

	public void setDanwei(String danwei) {
		this.danwei = danwei;
	}

	public Integer getPrice() {
		return this.price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Set getJproductivities() {
		return this.jproductivities;
	}

	public void setJproductivities(Set jproductivities) {
		this.jproductivities = jproductivities;
	}

}